/*
 * Main.h
 *
 *  Created on: 07.10.2012
 *      Author: Sven
 */

#ifndef MAIN_H_
#define MAIN_H_

/* PLATFORM */
#define _WIN32

#define PLATFORM_WINDOWS  1
#define PLATFORM_MAC      2
#define PLATFORM_UNIX     3

#if defined(_WIN32)
	#define PLATFORM PLATFORM_WINDOWS
#elif defined(__APPLE__)
	#define PLATFORM PLATFORM_MAC
#else
	#define PLATFORM PLATFORM_UNIX
#endif

/* API */

#if PLATFORM == PLATFORM_WINDOWS
	#include <winsock2.h>
#elif PLATFORM == PLATFORM_MAC || PLATFORM == PLATFORM_UNIX
	#include <sys/socket.h>
	#include <netinet/in.h>
	#include <fcntl.h>
#endif

/* STANDART */

#include <cstdlib>
#include <ctime>

#include <iostream>
#include <iomanip>
#include <string>
#include <map>
#include <queue>
using namespace std;

/* LOCAL */

#include "Player.h"

#include "Session.h"
#include "Packet.h"
#include "ServerSocket.h"

#endif /* MAIN_H_ */
